package com.miao.controller.front;

import com.miao.vo.CommentVo;
import com.miao.vo.ResultVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

/**
 * @author: 丰
 * @date: 2023/3/2 18:01
 */
@RestController
@Api(tags = "评论接口")
@RequestMapping("/front/comment")
public class CommentController {
    @GetMapping("/query/{id}")
    @ApiOperation("通过兼职id查询所有评论")
    public ResultVo<CommentVo> selectCommentAllByPartTimeId(@PathVariable("id") Integer id ){
        return null;
    }
    @PostMapping("/addComment")
    @ApiOperation("添加评论")
    public ResultVo<Integer> saveComment(@RequestBody CommentVo commentVo){
        return null;
    }
}
